package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="YfsSkus对象", description="")
public class YfsSkus implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "奖品类型, 1为自定义实物，2为绑定商城商品 3为平台虚拟资产  4为无任何奖品")
    private Integer skuType;

    @ApiModelProperty(value = "当sku_type为2时，绑定的虚拟资产")
    private String assets;

    @ApiModelProperty(value = "当sku_type为1时, 绑定的商品id")
    private Integer productId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "赏类型文字")
    private String shangTitle;

    @ApiModelProperty(value = "0为普通赏 1为购买赏")
    private Integer shangType;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "奖品库存")
    private Integer stock;

    @ApiModelProperty(value = "奖品销量")
    private Integer sales;

    @ApiModelProperty(value = "中奖几率, 30表示30%")
    private Double odds;

    private String targetPhones;

    @ApiModelProperty(value = "抽奖开始位置(包含)")
    private Integer lotteryStartPoint;

    @ApiModelProperty(value = "抽奖结束位置(包含)")
    private Integer lotteryEndPoint;

    @ApiModelProperty(value = "每个房间中的数量")
    private Integer totalPerRoom;

    @ApiModelProperty(value = "权重")
    private Integer listWeight;

    @ApiModelProperty(value = "0已下架 1为已上架")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "是否可返售，1为可返售")
    private Boolean isReturnSaleable;

    @ApiModelProperty(value = "预售日期，到了此日期后才可以选择发货")
    private Date presellDate;

    @ApiModelProperty(value = "显示积分零售价")
    private Integer displayMoneyPrice;

    @ApiModelProperty(value = "显示积分零售价")
    private Integer displayScorePrice;

    @ApiModelProperty(value = "设置后")
    private Integer disabledBeforeIndex;

    @ApiModelProperty(value = "详情图")
    private String detailImages;


}
